package com.xbongbong.pro.dictionary.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 数据字典列表
 * 创建时间 2019/6/14 2:21 PM
 * 修改时间 2019/6/14 2:21 PM
 * @author chy
 * @since v1.0
 * @version v1.0
 */
@Getter
@Setter
@ToString
public class FormDataDictionaryListDTO extends BaseDTO {
    /**
     * 表单id
     * 注：该字段对客户状态、合同状态无用
     */
    @NotNull(message = "{dto.msg.formDataDictionaryList.formId.NotNull}")
    private Long formId;
    /**
     * 对应字段
     */
    @NotBlank(message = "{dto.msg.formDataDictionaryList.saasAttr.NotBlank}")
    private String saasAttr;
}
